home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1995 #5 & #6 / Amiga Plus CD - 1995 - No. 5 and 6.iso / pd / serien / purity / nr.42 / includes3v1 / includes3v1.lha / Prefs / Font.i next >
Text File  |  1994-12-04  |  741b  |  38 lines

  1.  {     File format for font preferences   }
  2.  
  3.  
  4. {$I "Include:Libraries/IffParse.i"}
  5. {$I "Include:Graphics/Text.i"}
  6.  
  7. {***************************************************************************}
  8.  
  9. const
  10.  ID_FONT = 1179602516;
  11.  
  12.  
  13.  FONTNAMESIZE = 128;
  14.  
  15. type
  16.  FontPrefs = Record
  17.     fp_Reserved     : Array[0..2] of Integer;
  18.     fp_Reserved2    : WORD;
  19.     fp_Type         : WORD;
  20.     fp_FrontPen,
  21.     fp_BackPen,
  22.     fp_DrawMode     : Byte;
  23.     fp_TextAttr     : TextAttr;
  24.     fp_Name         : Array[0..FONTNAMESIZE-1] of Char;
  25.  end;
  26.  FontPrefsPtr = ^FontPrefs;
  27.  
  28. const
  29. { constants for FontPrefs.fp_Type }
  30.  FP_WBFONT     = 0;
  31.  FP_SYSFONT    = 1;
  32.  FP_SCREENFONT = 2;
  33.  
  34.  
  35. {***************************************************************************}
  36.  
  37.  
  38.